package com.dao;

import com.entity.Anime;
import com.entity.AnimeKira;
import com.entity.AnimeType;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author WZ
 * @version 1.0
 * @date 2021/8/18 16:48
 */
@Mapper
public interface AnimeDao {

   public List<AnimeKira> findKira(String name);

  public   void addKiaRa(AnimeKira kira);

  public   void deleteKiaRa(AnimeKira kira);


  public   void updateKiaRa(AnimeKira kira);

  public   List<AnimeKira> findKiraById(Integer id);


   public List<Anime> findAllAnime(String name);

   public void addAnime(Anime anime);

   public void  updateAnime(Anime anime);


    public void deleteAnime(Anime anime);

    public List<AnimeType> findAllAnimeType();
}
